﻿package Engine.RMI
{
    import Framework.Util.*;
    import flash.events.*;

    public class RMIEvent extends Event
    {
        private var _error:Exception;
        private var _interfaceName:String;
        public static const RMI_ERROR:String = "rmi_error";
        public static const SHOW_INTERFACE_TYPE:String = "show_interface_type";

        public function RMIEvent(param1:String, param2:Boolean = false, param3:Boolean = false, param4:Exception = null, param5:String = null)
        {
            super(param1, param2, param3);
            this._error = param4;
            this._interfaceName = param5;
            return;
        }// end function

        public function get error() : Exception
        {
            return this._error;
        }// end function

        public function get interfaceName() : String
        {
            return this._interfaceName;
        }// end function

    }
}
